package xin.tianhui.cloud.weblog.model.po;



import com.baomidou.mybatisplus.annotation.*;

import xin.tianhui.cloud.weblog.core.model.po.BaseEntityPO;


import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * <p>
 * 模型细分类
 * </p>
 *
 * @author junchen
 * @since 2018-04-21
 */
@Data
@EqualsAndHashCode(callSuper = true)

@TableName("t_model_item")
public class ModelItem extends BaseEntityPO {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("model_id")
    private Integer modelId;
    private String field;
    @TableField("item_label")
    private String itemLabel;
    private String priority;
    @TableField("def_value")
    private String defValue;
    @TableField("opt_value")
    private String optValue;
    @TableField("text_size")
    private Double textSize;
    @TableField("area_rows")
    private Double areaRows;
    @TableField("area_cols")
    private Double areaCols;
    private String help;
    @TableField("help_position")
    private String helpPosition;
    /**
     * 数据类型 1:单行文本 2:多行文本 3：下拉选项 4:多选框 5：单选框 6：日期 7：时间
     */
    @TableField("data_type")
    private Integer dataType;
    @TableField("is_single")
    private Integer isSingle;
    @TableField("is_channel")
    private Integer isChannel;
    /**
     * 是否显示
     */
    @TableField("is_display")
    private Integer isDisplay;
    /**
     * 是否必填
     */
    @TableField("is_required")
    private Integer isRequired;


}
